package cn.cnsy123.shorturls.business.entity;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;

public class SysFileUploadLog {
    private Long id;

    private String originalName;

    private String uploadName;

    private String fileType;

    private String batchNumber;

    private Boolean uploadStatus;

    private Date createTime;

    private String createUser;
    
    private String fileValidateCode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName == null ? null : originalName.trim();
    }

    public String getUploadName() {
        return uploadName;
    }

    public void setUploadName(String uploadName) {
        this.uploadName = uploadName == null ? null : uploadName.trim();
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType == null ? null : fileType.trim();
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber == null ? null : batchNumber.trim();
    }

    public Boolean getUploadStatus() {
        return uploadStatus;
    }

    public void setUploadStatus(Boolean uploadStatus) {
        this.uploadStatus = uploadStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public String getFileValidateCode() {
        return fileValidateCode;
    }

    public void setFileValidateCode(String fileValidateCode) {
        this.fileValidateCode = ((StringUtils.isBlank(fileValidateCode)) ? null : fileValidateCode.trim());
    }
    
    
}